RZ2 input sometimes produces NaNs

Tech Note: TN0886
Product: RZ2, RPvdsEx
Version: TDT Drivers < 72
Date Added: 2010-12-17

Issue

On rare occasions, the data pipe on the RZ2 outputs a NaN ("Not a Number"). This breaks any floating-point math that is applied to the signal, which results in garbage data or a flat line. This is most likely to occur at startup, if your circuit uses many SourceFile components.

Workaround

Add an MCBound component to the output of RZ2_Input_MC. This component will replace NaNs with zeros.

Solution

Upgrade to latest version of TDT Drivers/RPvdsEx. The RZ2_Input_MC macro has been updated to handle NaNs.